﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;




namespace WindowsGame1
{
    class Objeto2D
    {

        public Texture2D textura;
        public Vector2 posicao;
        public Color cor;


        public Objeto2D(Texture2D textura)
        {
            this.textura = textura;
            posicao = new Vector2(0, 0);
            cor = Color.White;
        }


        public void Draw(SpriteBatch spriteBatch)
        {

            spriteBatch.Draw(textura, posicao, cor);

        }


    }
}
